from apps.option.views import Labor_service_unitOptionsViewSet, SupplierManufactorsOptionsViewSet
from apps.system.views import CompaniesViewSet, ClientsViewSet, BusinessOpportunityViewSet, \
    BusinessOpportunity_orderViewSet, Cbsp_Bi_RecordsViewSet
from extensions.routers import *
from apps.option.views import *


router = BaseRouter()

# System

router.register('roles/options', RoleOptionViewSet, 'role_option')
router.register('users/options', UserOptionViewSet, 'user_option')
router.register('companies/options', CompaniesViewSet, 'companies_option')
router.register('opoc_labor_service_units/options', Labor_service_unitOptionsViewSet, 'opoc_labor_service_units')
router.register('supplierManufactors/options', SupplierManufactorsOptionsViewSet, 'supplierManufactors_option')
router.register('client/options', ClientsViewSet, 'clients_option')
router.register('BusinessOpportunity/options', BusinessOpportunityViewSet, 'BusinessOpportunity_option')
router.register('BusinessOpportunity_order/options', BusinessOpportunity_orderViewSet, 'BusinessOpportunity_order_option')
router.register('Cbsp_Bi_Records/options', Cbsp_Bi_RecordsViewSet, 'Cbsp_Bi_Records_option')

urlpatterns = router.urls
